package com.example.nonacademic_education.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author xinmiao
 * @description
 * @date 2023/4/18 16:44
 */
@Data
@TableName("theclass")
public class TheClass {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId
    private Long id;
    private String name;//班级名
    private Integer year;//年级
    private Integer seq;//班级
    private Long projectId;//所属培训项目ID
    private String note;//备注信息
    private String trainingInfo;
    private Integer isDel;//逻辑删除字段
    private String teacherName;
    private String teacherPhone;
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    private Date startDate;
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    private Date endDate;
//    private String establishAddress;
}
